package model

import (
	"jgt-wallet/src/schema"
)

// IOrder 订单管理
type IOrder interface {
	QueryOrder(param *schema.OrderQueryParam) (int64, []*schema.Order, error)
	GetOrder(pk map[string]interface{}) (*schema.Order, error)
	CreateOrder(item *schema.Order) error
	UpdateOrder(pk, info map[string]interface{}) error
}
